#ifndef __DHT11_H
#define __DHT11_H


#include "stm32f10x.h"
#include "stm32f10x_gpio.h"
#include "stm32f10x_rcc.h"


#define DHT11_OK 0
#define DHT11_ERROR -1

#define DHT11_DATA_PIN GPIO_Pin_5


void dht11_init(void);
int dht11_read(int *temperaute,int *humidity);




#endif 
